<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/jsp/commons/taglibs.jsp"%>
<!DOCTYPE html >
<html>
<head>
</head>
<body>

	<table width="100%" border="0" cellspacing="0" cellpadding="0"
		class="tab">
		<tr>
			<th>序号</th>
			<th>二级单位</th>
			<th>三级单位</th>
			<th>总金额</th>
			<th>施工内容</th>
			<th>最后修改时间</th>
			<th>操作</th>
		</tr>
		<c:forEach items="${resultDto.result}" var="result" varStatus="sn">
			<tr>
				<td>${sn.index+1 }</td>
				
				<td title="${result.secondInstitutions}">${result.secondInstitutions}</td>
				<td title="${result.threeInstitutions}">${result.threeInstitutions}</td>
				<td title="${result.totalPrice}">${result.totalPrice}</td>
				<td title="${result.prdInfo}">${result.prdInfo}</td>
				<td><fmt:formatDate value="${result.lastUpdateDate}"
						pattern="yyyy年MM月dd日" />
				 </td>
				<td title=""><a href="${ctx }/quote/quoteAction!UpdateInit.action?quote.quoteId=${result.quoteId}">编辑
				</a>  &nbsp;&nbsp;<a href="${ctx }/quote/quoteAction!delete.action?quote.quoteId=${result.quoteId}">删除
				</a>  &nbsp;&nbsp;</td>
				 
			</tr>
		</c:forEach>



	</table>
	<!--分页 begin-->
	<div class="pageleft">共有${resultDto.pagination.total}条数据，当前第${resultDto.pagination.index+1
		}页</div>
	<%-- 	<div class="pageleft">
		共有${resultDto.pagination.total }条数据，当前第<span id="pageCodeId"></span>页
	</div> --%>
	<s:if test="resultDto.result!=null && resultDto.result.size()>0">
		<div class="pagenum">
			<a href="#" id="topPage"
				onclick="queryPage('${ctx}/quote/quoteAction!list.action',0);">首页</a>
			<span id="Paginationa"></span> <a href="#" id="endPage"
				onclick="queryPage('${ctx}/quote/quoteAction!list.action','${totalPage-1 }');">尾页</a>
		</div>
		<input type="hidden" id="totalRow"
			value="${resultDto.pagination.total }" />
		<input type="hidden" id="totalPage" value="${totalPage }" />
		<div class="clear"></div>
	</s:if>
</body>
</html>
